import request from '@/utils/request'
const api_name = '/eduservice/front/teacher'
export default {
    getPageList(page, pageSize) {
        return request({
            url: `${api_name}/${page}/${pageSize}`,
            method: 'get'
        })
    },
    getById(teacherId) {
        return request({
            url: `/eduservice/front/course/${teacherId}`,
            method: 'get'
        })
    }
}